﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.MESUI.Login.LoginDtos
{
    public static class AppSession
    {
        public static long UserId { get; set; }
        public static string Username { get; set; }
        public static DateTime LoginTime { get; set; }

        // 清除登录信息
        public static void Clear()
        {
            UserId = 0;
            Username = null;
            LoginTime = default;
        }
    }
}
